/*
* Copyright (c) 2010 Michael Collins
*
* This file is part of TerraFirma.
*
* TerraFirma is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* TerraFirma is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with TerraFirma.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "player.h"

namespace game {

    /** Leave (priveledged [server, local player])
     *  removes caller player from the list of connected players, effectively disconecting her
     */
    int Player::Leave(lua_State *L)
    {
        return 0;
    }

    /** SayAll (priveledged [server, local player])
     *  caller player sends a chat message to all connected players
     */
    int Player::SayAll(lua_State *L)
    {
        return 0;
    }

    /** SayTeam (priveledged [server, local player])
     *  caller player sends a chat message to all those on his team
     */
    int Player::SayTeam(lua_State *L)
    {
        return 0;
    }

    /** SayPlayer (priveledged [server, local player])
     *  caller player sends a chat message to the specified player
     */
    int Player::SayPlayer(lua_State *L)
    {
        return 0;
    }

    /** GetPlayerID (nonpriveledged [any])
     *  returns caller player's player_id as an integer
     */
    int Player::GetPlayerID(lua_State *L)
    {
        return 1;
    }

    /** GetPlayerByID (nonpriveledged [any])
     *  returns the player object (if any) specified by the argument id
     */
    int Player::GetPlayerByID(lua_State *L)
    {
        return 1;
    }
}
